@charset "UTF-8";

.arial{
    font-family: Arial;
}
.none{
    display: none;
}
.hidden{
    visibility: hidden;
}
.show{
    display: block;
}
.height32{
    height: 32% !important;
}
.height68{
    height: 62% !important;
}
input{
    outline:none;
}
body{
    min-width: 320px;
    max-width: 640px;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* 首页 */
.main{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -mx-transform: translateX(-50%);
    background: url('/static/images/sports/homebg.jpg') no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
}
.homebg{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 66%;
    bottom: 3%;
    z-index: 9;
}
.hometitle{
    position: absolute;
    width: 64%;
    top: 10%;
    left: 18%;
}
.logo{
    position: absolute;
    width: 30%;
    left: 35%;
    top: 3%;
}
.star{
    position: absolute;
    width: 50%;
    bottom: 1%;
    left: 50%;
    transform: translate(-85%);
    -webkit-transform: translateX(-85%);
    -moz-transform: translateX(-85%);
    -o-transform: translateX(-85%);
    -ms-transform: translateX(-85%);
}
.detail-btn{
    position: absolute;
    bottom: 3%;
    right: 3%;
    width: 28%;
}
.open{
    position: absolute;
    width: 90%;
    top: 27%;
    left: 5%;
}
.left-line{
    position: absolute;
    bottom: 24.4%;
    width: 18.3%;
    height: 3.1%;
}
.right-line{
    position: absolute;
    right: 0;
    bottom: 24.6%;
    width: 19%;
    height: 2.2%;
}
.certificate{
    position: absolute;
    height: 100%;
    background: url('/static/images/sports/certbg.jpg') no-repeat;
    background-size: 100% 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-position: 0 0;
}
.join{
    display: inline-block;
    width: 28%;
    height: 6%;
    z-index: 99;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-55%) translateY(-252%);
    -webkit-transform: translateX(-55%) translateY(-252%);
    -moz-transform: translateX(-55%) translateY(-252%);
    -o-transform: translateX(-55%) translateY(-252%);
    -ms-transform: translateX(-55%) translateY(-252%);
}
.join-active{
    background: url('/static/images/sports/join.png') no-repeat;
    background-size: 100% 100%;
}
.look-active{
    background: url('/static/images/sports/lookTask.png') no-repeat;
    background-size: 100% 100%;
}
.click{
    position: absolute;
    left: 3%;
    bottom: 6%;
    width: 36%;
    animation: ckSurprise 1s;
    -webkit-animation: ckSurprise 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;

}

@keyframes ckSurprise {
    0% {left: 7%; bottom: 7%; width: 30%;}
    100% {left: 3%; bottom: 6%; width: 36%;}
}

.nochange{
    position: absolute;
    top: 50%;
    width: 86%;
    left: 7%;
    transform: translateY(-35%);
    -webkit-transform: translateY(-35%);
    -moz-transform: translateY(-35%);
    -o-transform: translateY(-35%);
    -ms-transform: translateY(-35%);
}

.surprise{
    width: 40%;
    height: 10%;
    position: absolute;
    bottom: 5%;
    left: 0;
    z-index: 99;
}
.detail{
    display: inline-block;
    width: 30%;
    height: 6%;
    position: absolute;
    right: 0;
    bottom: 2%;
    z-index: 99;
}
.box{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 99;
}
.box>.detail-box{
    position: absolute;
    width: 100%;
    height: 45%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.box>.detail-box>img:first-child{
    position: absolute;
    width: 60%;
    left: 20%;
    top: -8%;
    z-index: 9;
}
.box>.detail-box>img:nth-child(2){
    position: absolute;
    width: 26%;
    left: 37%;
    top: -6.4%;
    z-index: 9;
}
.box>.detail-box>img:last-child{
    position: absolute;
    left: 10%;
    top: 0;
    width: 80%;
}
.box>.iphone-box{
    position: absolute;
    width: 80%;
    height: 40%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -webkit-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -o-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -ms-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -moz-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
}
.box>.iphone-box>img:nth-child(1){
    width: 86%;
    left: 7%;
    top: 22%;
    position: absolute;
}
.box>.iphone-box>img:nth-child(2){
    position: absolute;
    width: 80%;
    left: 10%;
    top: -11%;
}
.box>.iphone-box>img:nth-child(3){
    position: absolute;
    width: 50%;
    left: 25%;
    bottom: 5%;
}
.box>.iphone-box>img:nth-child(4){
    position: absolute;
    width: 40%;
    bottom: 10%;
    left: 30%;
}
.box>.iphone-box>img:last-child{
    width: 50%;
    position: absolute;
    left: 25%;
    top: -8%;
}

/* 9月运动会项目页面 */
.sport{
    width: 100%;
    /*height: 100%;*/
    background: url('/static/images/sports/sportbg.jpg') no-repeat;
    background-size: 100% 100%;
    background-size: 100% 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-position: 0 0;
    overflow-x: hidden;
    overflow-y: scroll;
}
.move-left{
    animation: left 1s;
    -webkit-animation: left 1s;
    -moz-animation: left 1s;
    -ms-animation: left 1s;
    -o-animation: left 1s;
    animation-fill-mode: forwards;
}
.move-left0{
    animation: toLeft 1s;
    -webkit-animation: toLeft 1s;
    -moz-animation: toLeft 1s;
    -o-animation: toLeft 1s;
    -ms-animation: toLeft 1s;
    animation-fill-mode: forwards;
}

@keyframes left{
    from {left: 0;}
    to {left: -100%;}
}
@keyframes toLeft{
    from {left: 100%;}
    to {left: 0;}
}

/* 个人证书和抽奖 */
.lottery{
    position: absolute;
    width: 90%;
    height: 8%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
}
.lottery>span{
    width: 48%;
    left: 0%;
    height: 100%;
    display: inline-block;
    position: absolute;
}

/* 提示蒙层 */
.cover{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 9;
    left: 0;
    /*top: 0;*/
}
.bomb{
    width: 80%;
    height: 18%;
    position: absolute;
    /*top: -10%;*/
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    border-image: url('/static/images/sports/tipbg.png') 0 0 stretch;
    -o-border-image: url('/static/images/sports/tipbg.png') 0 0 stretch;
    -webkit-border-image: url('/static/images/sports/tipbg.png') 0 0 stretch;
    -moz-border-image: url('/static/images/sports/tipbg.png') 0 0 stretch;
    -ms-border-image: url('/static/images/sports/tipbg.png') 0 0 stretch;
}
.bomb2{
    width: 80%;
    height: 18%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -o-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -webkit-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -moz-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
    -ms-border-image: url('/static/images/sports/bigbg.png') 0 0 stretch;
}
.top-text{
    position: absolute;
    top: -20%;
    width: 60%;
    left: 20%;
}
.warn-title{
    position: absolute;
    top: -15%;
    left: 28%;
    width: 44%;
}
.warn, .not, .end{
    position: absolute;
    width: 76%;
    left: 12%;
    top: 32%;
}
.not{
    width: 60%;
    left: 20%;
}
.end{
    width: 82%;
    left: 9%;
}

.to-bottom{
    animation: bottom 0.5s;
    -webkit-animation: bottom 0.5s;
    -moz-animation: bottom 0.5s;
    -o-animation: bottom 0.5s;
    -ms-animation: bottom 0.5s;
    animation-fill-mode: forwards;
}

@keyframes bottom{
    from {top: -10%;}
    to {top: 50%;}
}

.warn-text, .warn-beggin{
    font-size: 1.1rem;
    top: 31%;
    position: absolute;
    width: 86%;
    text-align: center;
    left: 7%;
    letter-spacing: 1px;
}

.text{
    position: absolute;
    top: 0;
    left: 0;
    font-family: Microsoft JhengHei;
    font-size: 1.2rem;
    font-weight: bold;
    color: #658dbc;
    text-align: center;
    /*width: 100%;*/
    top: 50%;
    left: 50%;
    line-height: 1.7;
    transform: translateY(-45%) translateX(-50%);
    -webkit-transform: translateY(-45%) translateX(-50%);
    -ms-transform: translateY(-45%) translateX(-50%);
    -o-transform: translateY(-45%) translateX(-50%);
    -moz-transform: translateY(-45%) translateX(-50%);
}
.text>p>img{
    width: 1.2rem;
    margin-left: 5px;
}

.warn-subbg{
    position: absolute;
    width: 76%;
    left: 12%;
    bottom: 15%;
}
.warn-continue{
    position: absolute;
    width: 60%;
    left: 20%;
    bottom: 20%;
}
.tip-top{
    width: 80%;
    position: absolute;
    left: 10%;
    top: -14%;
}
.warn-little, .winning{
    position: absolute;
    width: 48%;
    left: 26%;
    top: -11%;
}
.winning{
    width: 34%;
    left: 32%;
    top: -6%;
}

.tshirt{
    position: absolute;
    width: 70%;
    left: 15%;
    top: 9%;
}

.win>.in>p{
    font-family: Microsoft JhengHei;
    font-weight: bold;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.7;
}
/*.win>.in>.name{
    margin-top: 34%;
}*/
.in{
    position: absolute;
    width: 100%;
    /*background: red;*/
    top: 51%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.win>.in>p>input{
    height: 1.5rem;
    padding: 6px;
    width: 60%;
    background: #DDB476;
    border: 3px solid #F3E6BE;
    border-radius: 6px;
    outline:none;
}
.submitbg{
    width: 50%;
    left: 25%;
    position: absolute;
    bottom: 5%;
}
.submitbg2{
    position: absolute;
    width: 36%;
    left: 32%;
    bottom: 8%;
}
.sub{
    width: 50%;
    left: 25%;
    position: absolute;
    background: none;
    height: 75%;
    z-index: 9;
    opacity: 0.5;
    top: 108%;
}

.winner-infor{
    font-size: 1.1rem;
    text-align: center;
    position: absolute;
    width: 100%;
    margin-top: 14%;
    font-weight: bold;
}
